package Generics;

import java.util.ArrayList;
import Object.Person;

import java.util.HashMap;
import java.util.List;

public class AddGenerics {
    public static void main(String[] args) {
        List list = new ArrayList();
        list.add("xxString");
        list.add(100d);
        list.add(new Person("hfahd" ,12).getClass());
        list.add(new HashMap<String, Integer>());
        System.out.println(list);
    }
}
